﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TemplateMethodPattern.DemoOne
{
    public class Hummer2Model : HummerModel
    {
        public override void alarm()
        {
            Console.WriteLine("悍马H2鸣笛。。。");
        }

        public override void engineBoom()
        {
            Console.WriteLine("悍马H2轰鸣声。。。");
        }

        public override void start()
        {
            Console.WriteLine("悍马H2发动。。。");
        }

        public override void stop()
        {
            Console.WriteLine("悍马H2停车。。。");
        }


    }
}
